home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
PROGRAMR
/
OLE2BOOK.ZIP
/
CHAP08.ZIP
/
CHAP08
/
PATRON
/
CLIENT.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1993-05-25
|
1KB
|
63 lines
/*
* CLIENT.CPP
* Modifications for Chapter 8: None
*
* Implementation of the CPatronClient class that just makes sure
* we get a CPatronDoc on doc creation and that we initialize fully.
*
* Copyright (c)1993 Microsoft Corporation, All Rights Reserved
*
* Kraig Brockschmidt, Software Design Engineer
* Microsoft Systems Developer Relations
*
* Internet : kraigb@microsoft.com
* Compuserve: >INTERNET:kraigb@microsoft.com
*/
#include "patron.h"
/*
* CPatronClient::CPatronClient
* CPatronClient::~CPatronClient
*
* Constructor Parameters:
* hInst HINSTANCE of the application.
*/
CPatronClient::CPatronClient(HINSTANCE hInst)
: CClient(hInst)
{
return;
}
CPatronClient::~CPatronClient(void)
{
return;
}
/*
* CPatronClient::CreateCDocument
*
* Purpose:
* Constructs a new document specific to the application.
*
* Parameters:
* None
*
* Return Value:
* LPCDocument Pointer to the new document object.
*/
LPCDocument CPatronClient::CreateCDocument(void)
{
return (LPCDocument)(new CPatronDoc(m_hInst));
}